<!DOCTYPE html>
<html lang="zh-CN" xmlns:th="http://www.thymeleaf.org">

<div th:replace="include/header::head"></div>

<div th:replace="include/teacher_navbar::navbar(${loginTeacher})"></div>

<div class="container">
	<h1>
		<img th:src="@{/static/img/exam-teacher.png}" /> 上机考试管理
	</h1>

	<div class="container-fluid">
		<div class="row-fluid">
			<div th:if="${application.exam != null}" class="span12 exam-info">
				<p class="exam-info">
					<a class="btn btn-primary" th:href="@{/teacher/manage/summary}"><i class="icon-share-alt"></i> 返回</a>
				</p>
				<h4>已登录学生数量：<span th:text="${bindlist.size()}"></span></h4>
				<p>
				<span th:each="item : ${bindlist}" class="span2">
					<span th:text="${item.number} + '(' + ${item.name} + ')'"></span>&nbsp;
				</span>
				</p>
			</div>
			<div th:if="${application.exam == null}" class="span12 exam-info">
				<p class="exam-info">
					<a class="btn btn-primary" th:href="@{/teacher/manager/summary}"><i class="icon-share-alt"></i> 返回</a>
				</p>
				<h4>没有考试正在进行~</h4>
			</div>
		</div>
	</div>

</div>

<div th:replace="include/teacher_footer::footer"></div>
